package com.weitu.occupationalHealth.monPoint.service.impl;

import com.weitu.occupationalHealth.monPoint.entity.MonPoint;
import com.weitu.occupationalHealth.monPoint.mapper.MonPointMapper;
import com.weitu.occupationalHealth.monPoint.service.MonPointService;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MonPointServiceImpl implements MonPointService {
    @Autowired
    private MonPointMapper monPointMapper;

    @Override
    public Map selectById(String id) {
        return this.monPointMapper.selectById(id);
    }

    @Override
    public int deleteById(String id) {
        return this.monPointMapper.deleteById(id);
    }

    @Override
    public int updateByIdSelective(Map record) {
        return this.monPointMapper.updateByIdSelective(record);
    }

    @Override
    public int insertSelective(Map record) {
        return this.monPointMapper.insertSelective(record);
    }

    @Override
    public List<Map> selectAllMonPoint(Map map) {
        return this.monPointMapper.selectAllMonPoint(map);
    }

    @Override
    public int selectMonPointCount(Map map) {
        return this.monPointMapper.selectMonPointCount(map);
    }

    @Override
    public int insertHarmIds(List<Map<String, Object>> maps) {
        return this.monPointMapper.insertHarmIds(maps);
    }

    @Override
    public int deleteHarmIds(@Param("id") String id) {
        return this.monPointMapper.deleteHarmIds(id);
    }

    @Override
    public List<Map<String, Object>> selectHarmIds(String id) {
        return this.monPointMapper.selectHarmIds(id);
    }

    @Override
    public List<MonPoint> selectPointTb(Map<String, Object> map) {
        return this.monPointMapper.selectPointTb(map);
    }

    @Override
    public int selectPointTbCount(Map<String, Object> map) {
        return this.monPointMapper.selectPointTbCount(map);
    }
}